package com.circle.interests.biz.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author zhou
 * @date 2021/3/27
 */
@Data
@ApiModel(value = "增加活动奖品库存")
public class ActPrizeInventoryIncreaseRequest implements Serializable {

    @NotBlank
    @Length(min = 1, max = 64)
    @ApiModelProperty(value = "活动编号")
    private String actCode;

    @Length(min = 1, max = 64)
    @ApiModelProperty(value = "奖品编号，奖品编号和奖品分类至少传一个，奖品编号为空时控制的是整个分类的库存")
    private String prizeCode;

    @ApiModelProperty(value = "库存增加或减少数量")
    private Integer count;

}
